home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
misc
/
dial.lha
/
dial.doc
< prev
next >
Wrap
Text File
|
1992-09-02
|
3KB
|
87 lines
Dial V1.0 on 26/06/94
=====================
WHAT DOES IT DO?
----------------
This programme dials phone numbers from the CLI. As it stands this isn't
anything exciting. The good thing about this programme is that it is
designed to be used in scripts. E.g dos, arexx, superbase DML etc...
Basically it uses the amiga's right speaker / audio output and dials tones
using either DTMF or CCITT5 - if you place your phone next to the speaker
the number will be called.
AND HOW IS THIS USEFUL TO ME?
-----------------------------
If you programme AREXX, ever wanted to have a command which tone dials? Now
you have one - just launch this programme from your arexx script with the
number you want to dial.
If you are writing a pretty nifty DOS script you now have a command to
dial certain numbers!
If you are an assembly language programmer and are writing that ultimate
address/phone/diary/manager book you can now tone dial within your code.
Either by two ways.
Either by the _LVOExecute command where you can just launch this CLI
programme in your code or...
By using the source code supplied with this and writing the routine directly
in your programme. Yes my permission goes out for use in any programme,
commercial or not. If you include it though please let me know - and a
mention in the credits would be nice :-)
Included in SuperBase Pro 4 and various other versions is a language
called DML - DataBase Management Language. If you have some sort of
personnel database you can now use dial in the scripting language and
dial the number automatically from your database. Dont panic! Source
is included for you to do this! Just run dial.sbp from superbase.
E.g RUN "dial.sbp" from a function key.
HOW DO I USE IT?
----------------
If you type 'dial ?' from CLI you will get this message:
Dial, by A.Leppard 26/06/94. Tone dialler
To use: type Dial [-<options>] <number>
Where options are:
-d DTMF Dialling (default) or -c CCITT5 Dialling
-nl Dont convert letters to numbers. (e.g ABC=2, DEF=3)
-s <speed> Speed of dial 1->99 (Default -s5)
Pretty self explanatory, here are some examples:
dial 000 <- Australian emergency number
dial -d -s4 1231 <- dial using DTMF, at speed 4 the number 1231
dial -cs1 800-SKY <- dial using CCITT5, speed dial the number 800-SKY
dial -nlcs10 1234 <- ignore letters, CCITT5, speed 10 the number 1234
READ ME
-------
Hope you find this programme / code useful. Another way would be to use
the 'AT' command and use a modem to dial the number - much easier - but
I couldnt get my copy of the AT command to work for dialling so I decided
to do it this way (its faster with dial using -s1). And besides this
way doesnt need a $400 modem to work! cul8r all!
Internet: 9405571x@lux.levels.unisa.edu.au
or on Fred's BBS: +618-341-5944
cu,
Andrew Leppard